package com.liuqi.iot.bean.query;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 历史数据查询对象 
 * @author Coder Generator 2025-03-22 20:51:27 
 **/
@Data
public class DeviceHistoryDataQuery {
    @NotEmpty
    private String deviceCode;

    private String paramCode;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}